<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>KFC 超值优惠活动</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            background-color: #e4002b;
            color: white;
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        .offer {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
        }
        .price {
            font-size: 2em;
            color: #e4002b;
            font-weight: bold;
            margin: 20px 0;
        }
        .qr-code {
            max-width: 300px;
            margin: 20px auto;
        }
        .button {
            background-color: #e4002b;
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            font-size: 1.2em;
            cursor: pointer;
            margin: 20px 0;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            color: #666;
            font-size: 0.8em;
        }
        #countdown {
            font-size: 1.5em;
            color: #e4002b;
            margin: 20px 0;
        }
        .menu-items {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }
        .menu-item {
            width: 150px;
            text-align: center;
        }
        .menu-item img {
            width: 100%;
            border-radius: 10px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <img src="https://www.kfc.com.cn/kfccda/images/logo2.png" alt="KFC Logo" style="max-width: 200px;">
            <h1>KFC 超值优惠大放送！</h1>
        </div>
        
        <div class="offer">
            <h2>限时特惠活动</h2>
            <p>V我50，立即获得价值199元的</p>
            <div class="menu-items">
                <div class="menu-item">
                    <img src="https://www.kfc.com.cn/kfccda/images/menu/burgerset.png" alt="汉堡套餐">
                    <p>豪华汉堡套餐</p>
                </div>
                <div class="menu-item">
                    <img src="https://www.kfc.com.cn/kfccda/images/menu/chicken.png" alt="炸鸡">
                    <p>香脆炸鸡</p>
                </div>
                <div class="menu-item">
                    <img src="https://www.kfc.com.cn/kfccda/images/menu/drinks.png" alt="饮料">
                    <p>可乐</p>
                </div>
            </div>
            
            <div class="price">
                <span>仅需</span>
                <span style="color: #e4002b;">¥50</span>
            </div>
            
            <p>活动倒计时：</p>
            <div id="countdown">05:00</div>
            
            <img src="https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=假装这是支付二维码" alt="支付二维码" class="qr-code">
            
            <button class="button" onclick="showMessage()">立即支付</button>
        </div>
        
        <div class="footer">
            <p>活动最终解释权归彦辰所有</p>
            <p>©2025 KFC 整蛊专用</p>
        </div>
    </div>

    <script>
        function startCountdown() {
            let time = 300; // 5 minutes in seconds
            const countdownElement = document.getElementById('countdown');
            
            const timer = setInterval(() => {
                time--;
                const minutes = Math.floor(time / 60);
                const seconds = time % 60;
                countdownElement.textContent = `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;
                
                if (time <= 0) {
                    clearInterval(timer);
                    countdownElement.textContent = "活动已结束";
                }
            }, 1000);
        }

        function showMessage() {
            alert("整蛊成功！这是一个恶作剧网页，请勿当真！");
        }

        // Start countdown when page loads
        window.onload = startCountdown;
    </script>
</body>
</html>
